﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Order.Command.Command
{
    public class CreateOrderCommand : BaseCommand
    {
        public CreateOrderCommand(decimal productPrice, int productNumber, string productId, string productName, string productColor, string productModel)
        {
            ProductPrice = productPrice;
            ProductNumber = productNumber;
            ProductId = productId;
            ProductName = productName;
            ProductColor = productColor;
            ProductModel = productModel;
        }
        public CreateOrderCommand() { }

        /// <summary>
        /// 产品价格
        /// </summary>
        public decimal ProductPrice { get; set; }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int ProductNumber { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品颜色
        /// </summary>
        public string ProductColor { get; set; }
        /// <summary>
        /// 产品型号
        /// </summary>
        public string ProductModel { get; set; }
        
    }
}
